#include "stdafx.h"
#include "BlackScholesModel.h"
#include "PathIndependentOption.h"

class DigitalPutOption : public PathIndependentOption {
public:
    DigitalPutOption();
    double strike;
    double maturity;

    double payoff(double stockAtMaturity) const;

    double getMaturity() const;
};

void testDigitalPutOption();